﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="TabDemo.aspx.cs" Inherits="pages_Demo_tab_TabDemo" %>

<%@ Register Assembly="WControls" Namespace="Winson.Tab" TagPrefix="cc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
    <link href="../../../css/tab.CSS" type="text/css" rel="stylesheet" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <cc1:TabControl ID="TabControl1" runat="server" TabScriptPath="../../../js/tabstrip.js">
            <cc1:TabPage ID="TabPage1" runat="server" Caption="一个Tab">
                姓名：<asp:TextBox ID="txtName" runat="server"></asp:TextBox>
                <br />
                性别：
                 <asp:DropDownList ID="DropDownList1" runat="server">
                    <asp:ListItem>男</asp:ListItem>
                    <asp:ListItem>女</asp:ListItem>
                </asp:DropDownList>
                <br />
                邮件：<asp:TextBox ID="txtMail" runat="server"></asp:TextBox>
            </cc1:TabPage>
            <cc1:TabPage ID="TabPage2" runat="server" Caption="又一个Tab页">
                <asp:TextBox ID="txtMyText" runat="server" Height="104px" TextMode="MultiLine" Width="314px"></asp:TextBox>
            </cc1:TabPage>
            <cc1:TabPage ID="TabPage3" runat="server" Caption="再一个Tab">
                日期：<asp:TextBox ID="txtDate" runat="server"></asp:TextBox>
                <asp:Calendar ID="Calendar1" runat="server" BackColor="#FFFFCC" BorderColor="#FFCC66" BorderWidth="1px" DayNameFormat="Shortest" Font-Names="Verdana" Font-Size="8pt" ForeColor="#663399" Height="200px" OnSelectionChanged="Calendar1_SelectionChanged" ShowGridLines="True" Width="220px">
                    <SelectedDayStyle BackColor="#CCCCFF" Font-Bold="True" />
                    <TodayDayStyle BackColor="#FFCC66" ForeColor="White" />
                    <SelectorStyle BackColor="#FFCC66" />
                    <OtherMonthDayStyle ForeColor="#CC9966" />
                    <NextPrevStyle Font-Size="9pt" ForeColor="#FFFFCC" />
                    <DayHeaderStyle BackColor="#FFCC66" Font-Bold="True" Height="1px" />
                    <TitleStyle BackColor="#990000" Font-Bold="True" Font-Size="9pt" ForeColor="#FFFFCC" />
                </asp:Calendar>
                
            </cc1:TabPage>
        </cc1:TabControl>
        <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="Button" />
        </div>
    </form>
</body>
</html>
